package com.uvnos4j.matilda.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.uvnos4j.matilda.commons.domain.IdDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 用户角色关系
 * <p>
 * Description:用户角色关系
 * </p>
 *
 * @author Guo.wl
 * @version v1.0.0
 * @see com.uvnos4j.matilda.system.domain
 * @since 2020-08-31 23:27:45
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sys_user_role")
public class SysUserRole extends IdDomain implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 用户 ID
     */
    @TableField(value = "user_id")
    private Long userId;
    /**
     * 角色 ID
     */
    @TableField(value = "role_id")
    private Long roleId;
}